package server.mapper;

import org.dom4j.Document;
import org.dom4j.DocumentException;
import org.dom4j.Element;
import org.dom4j.io.SAXReader;

import java.io.InputStream;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class MappedHost<String,Object> extends HashMap {

    /**
     * 加载解析server.xml,context标签
     */
    public Map loadServlet() throws DocumentException {
        MappedContext<String,Object> mappedContext= new MappedContext<String,Object>();
        Map mapContext = mappedContext.loadServlet();
        return mapContext;
    }
}
